import { DataStatusEnum } from "@/enums/publicEnum"

export interface CategorytListResult {
  id: number
  status: DataStatusEnum
  level: number
  name: string
  parentId: number
  iconUrl?: string
  children: CategorytListResult[]
  parentStrIds: string
}

export interface CategorytAddData {
  status: DataStatusEnum
  name: string
  iconUrl?: string
  parentId?: number
}

export interface CategorytEditData {
  id: number
  status: DataStatusEnum
  name: string
  iconUrl?: string
  parentId?: number
}